/*
 * This file is part of Dorado 7.x (http://dorado7.bsdn.org).
 * 
 * Copyright (c) 2002-2012 BSTEK Corp. All rights reserved.
 * 
 * This file is dual-licensed under the AGPLv3 (http://www.gnu.org/licenses/agpl-3.0.html) 
 * and BSDN commercial (http://www.bsdn.org/licenses) licenses.
 * 
 * If you are unsure which license is appropriate for your use, please contact the sales department
 * at http://www.bstek.com/contact.
 */

.d-grid {
    border: 1px #A1A1A1 solid;
    background: #FFFFFF;
}

.d-grid-focused {
	border: 1px #303030 solid;
}

.d-grid .header-table .header {
    background: #F0F0F0 url(grid/header-bg.gif) repeat-x top;
    border-top: 1px #FFFFFF solid;
    border-left: 1px #FFFFFF solid;
    border-right: 1px #C8CBCE solid;
    border-bottom: 1px #C8CBCE solid;
}

.d-grid .header-table .caption {
    margin-left: 4px;
}

.d-grid .header-table .caption-required {
	padding-left: 8px;
	background: url(grid/field-required.gif) 0px 4px no-repeat;
}

.d-grid .header-table .sorted-header .sort-state {
    width: 7px;
    height: 4px;
    margin-top: -2px;
    margin-left: 4px;
    vertical-align: middle;
}

.d-grid .header-table .sorted-header .sort-state-desc {
    background: url(grid/sort-states.gif) -7px;
}

.d-grid .header-table .sorted-header .sort-state-asc {
    background: url(grid/sort-states.gif);
}

.d-grid .header-table .hover-header {
    background: #DAEBFF url(grid/header-hover-bg.gif) repeat-x top;
}

.d-grid .header-table .menu-open-header {
    background: #DAEBFF url(grid/header-hover-bg.gif) repeat-x top;
}

.d-grid .filter-bar .filter-bar-cell {
    height: 24px;
    background: url(grid/filter-bg.gif) repeat-x;
    border-bottom: 1px #C8CBCE solid;
}

.d-grid .footer-table .footer {
    background: #F0F4F8 url(grid/header-bg.gif) repeat-x top;
    border-top: 1px #C8CBCE solid;
    border-left: 1px #FFFFFF solid;
    border-right: 1px #C8CBCE solid;
    border-bottom: 1px #E3E8EC solid;
}

.d-grid .data-table .row td {
    border-left: 1px #FFFFFF solid;
    border-right: 1px #E3E3E3 dotted;
    border-top: 1px #FFFFFF solid;
    border-bottom: 1px #E8E8E8 solid;
}

.d-grid .data-table .odd-row {
    background: #FAFAFA;
}

.d-grid .data-table .dummy-row {
    background: #F1F1F1;
}

.d-grid .data-table .hover-row {
    background: #EFEFEF;
}

.d-grid .data-table .hover-row td {
    border-top-color: #EFEFEF;
}

.d-grid .data-table .selected-row {
    background: #A3F1B2;
}

.d-grid .data-table .selected-row td {
    border-left: 1px #A3F1B2 solid;
	border-top-color: #CFF8D7;
	border-bottom-color: #8DD89D;
}

.d-grid .data-table .current-row {
    background: #A3F1B2 url(list/current-row.gif) repeat-x top;
}

.d-grid .data-table .current-row td {
    border-top-color: #E0F8E4;
    border-bottom-color: #6ECC81;
}

.d-grid .data-table .row .current-cell {
    background: #CBF7D4 url(grid/current-cell.gif) repeat-x top;;
}

.d-grid .data-table .drag-over-row {
    background: #EFEFEF;
}

.d-grid .data-table .drag-over-row td {
    border-top-color: #EFEFEF;
    border-bottom-color: #EFEFEF;
}

.d-grid .data-table .group-header-row td {
    background: #FFFFFF;
    border-bottom: 1px #FFFFFF solid;
}

.d-grid .data-table .group-header-row .cell {
    color: #FB8B0D;
    font-size: 10pt;
    font-weight: bold;
    line-height: 32px;
    padding-left: 6px;
    border-bottom: 2px #D36800 solid;
}

.d-grid .data-table .group-footer-row td {
    background: #F5F5F5;
    border-bottom: 1px #7B9CC2 solid;
}

.d-grid .cell-flag-dirty {
    background: url(form/dirty-flag.gif) no-repeat right top;
}

.d-grid .cell-flag-warn {
    background: url(grid/cell-flag-warn.gif) no-repeat right top;
}

.d-grid .cell-flag-error {
    background: url(grid/cell-flag-error.gif) no-repeat right top;
}

.d-grid .indicator-new {
    background: url(grid/indicator-new.gif) no-repeat center center;
}

.d-grid .indicator-modified {
    background: url(form/dirty-flag.gif) no-repeat center center;
}

.d-grid .indicator-warn {
    background: url(grid/cell-flag-warn.gif) no-repeat center center;
}

.d-grid .indicator-error {
    background: url(grid/cell-flag-error.gif) no-repeat center center;
}

.d-grid .preparing-area {
    background: url(list/preparing-area-bg.gif);
}

.d-grid-cell-editor {
}

.d-grid-header-option-button {
	cursor: pointer;
    width: 14px;
    border-left: 1px #9EC9FB solid;
    background: #FFFFFF url(grid/header-option-button.gif) no-repeat center center;
    filter: alpha( opacity = 50);
	opacity: 0.5;
}

.d-grid-col-drag-top {
	width: 9px;
	height: 9px;
	background: url(grid/col-drag-indicator.gif) -9px no-repeat;
}

.d-grid-col-drag-bottom {
	width: 9px;
	height: 9px;
	background: url(grid/col-drag-indicator.gif) no-repeat;
}

.d-grid-col-resize-helper {
    border-left: 1px #000000 solid;
    border-right: 1px #000000 solid;
    background-color: #FFFFFF;
    filter: alpha( opacity = 50);
	opacity: 0.5;
}

.d-grid-col-drag-helper {
    cursor: pointer;
    background: #DAEBFF url(grid/header-hover-bg.gif) repeat-x top;
    border: 1px #9EC9FB solid;
    filter: alpha( opacity = 80);
	opacity: 0.8;
}

.d-grid-col-drop-indicator {
    background-color: #FF8040;
}

.d-grid-col-resize-handler {
    background-color: #9EC9FB;
	cursor: e-resize;
    filter: alpha( opacity = 50);
	opacity: 0.5;
}

.d-grid .indicator .cell {
    height: 16px;
    background: url(grid/column-headers.gif) center 0px no-repeat;
}

.d-grid .header-table .row-num .cell {
    height: 16px;
    background: url(grid/column-headers.gif) center -16px no-repeat;
}

.d-grid .row-selector .cell {
    height: 16px;
    background: url(grid/column-headers.gif) center -32px no-repeat;
}

.d-grid .float-refresh-panel {
    background: url(grid/refresh-panel.gif);
    top: -54px;
    right: 20px;
    width: 54px;
    height: 60px;
    filter: alpha( opacity = 80); 
	opacity: 0.8;
}

.d-grid .float-refresh-panel .button {
    cursor: pointer;
    background: url(grid/refresh-button.gif);
    top: 3px;
    left: 3px;
    width: 48px;
    height: 48px;
}

.d-grid .float-refresh-panel .button-hover {
    background-position: -48px 0;
}

.d-grid .float-refresh-panel .button-click {
    background-position: -96px 0;
}

.d-grid .float-filter-panel {
    background: url(grid/float-filter-panel.gif);
    left: 20px;
    width: 68px;
    height: 26px;
    filter: alpha( opacity = 90);
	opacity: 0.9;
}

.d-grid .float-filter-panel .d-icon-button {
    bottom: 5px;
    background: url(base/tool-button-bg.gif);
}

.d-grid .float-filter-panel .filter-button {
    left: 13px;
}

.d-grid .float-filter-panel .filter-button .icon {
    background: url(common/icons.gif) 0 -40px;
}

.d-grid .float-filter-panel .filter-button-hover {
    background-position: -20px 0;
}

.d-grid .float-filter-panel .filter-button-click {
    background-position: -40px 0;
}

.d-grid .float-filter-panel .reset-button {
    left: 35px;
}

.d-grid .float-filter-panel .reset-button .icon {
    background: url(common/icons.gif) -280px -220px;
}

.d-grid .float-filter-panel .reset-button-hover {
    background-position: -20px 0;
}

.d-grid .float-filter-panel .reset-button-click {
    background-position: -40px 0;
}
